package com.crdeng.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.crdeng.business.entity.OutStock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crdeng.business.vo.ConsumerVO;
import com.crdeng.business.vo.OutStockDetailVO;
import com.crdeng.business.vo.OutStockVO;
import com.crdeng.business.vo.outStocksQueryMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author crdeng
 * @since 2021-02-06
 */
public interface OutStockService extends IService<OutStock> {


    IPage<OutStockVO> findOutStock(Integer pageNun, Integer pageSize, outStocksQueryMap queryMap);

    OutStockDetailVO getDetail(Long id,Integer pageNum,Integer pageSize);

    void alterStatus(Long id,Integer statusNum);

    void addOutStock(OutStockVO outStockVO);
}
